import 'package:color_dart/RgbaColor.dart';
import 'package:flutter/material.dart';

class AchievementItem extends StatelessWidget {
  const AchievementItem({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(top: 15, bottom: 15),
      child: Row(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Image.asset(
            'lib/assets/images/order/order1.png',
            fit: BoxFit.cover,
            width: 112,
            height: 80,
          ),
          Padding(padding: EdgeInsets.only(left: 10)),
          Expanded(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.start,
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                Container(
                  child: Text('基于类脑计算的新一代感知系基于类脑计算的新一代感知系',
                      style: TextStyle(
                        color: rgba(72, 107, 157, 1),
                        fontSize: 15,
                        fontWeight: FontWeight.w600,
                        height: 1.1,
                      ),
                      softWrap: true,
                      textAlign: TextAlign.left,
                      overflow: TextOverflow.ellipsis,
                      maxLines: 1),
                ),
                Container(
                  padding: EdgeInsets.only(top: 7),
                  width: 216,
                  child: Text(
                      '积极发展中国芯是突破国际封锁保障，我国经济发展与安全的积极发展中国芯是突破国际封锁保障，我国经济发展与安全的',
                      style:
                          TextStyle(color: rgba(68, 68, 68, 1), fontSize: 14),
                      softWrap: true,
                      textAlign: TextAlign.left,
                      overflow: TextOverflow.ellipsis,
                      maxLines: 2),
                ),
                Container(
                    padding: EdgeInsets.only(top: 11),
                    width: 216,
                    child: Row(
                      mainAxisAlignment: MainAxisAlignment.spaceBetween,
                      crossAxisAlignment: CrossAxisAlignment.center,
                      children: [
                        Row(
                            mainAxisAlignment: MainAxisAlignment.start,
                            crossAxisAlignment: CrossAxisAlignment.center,
                            children: [
                              Image.asset(
                                'lib/assets/images/label/label_position.png',
                                fit: BoxFit.cover,
                                width: 9,
                                height: 11,
                              ),
                              Padding(
                                padding: EdgeInsets.fromLTRB(3, 0, 0, 0),
                                child: Text('北京',
                                    style: TextStyle(
                                        color: rgba(163, 163, 163, 1),
                                        fontSize: 11)),
                              )
                            ]),
                        Container(
                            child: Row(children: [
                          Row(children: [
                            Image.asset(
                              'lib/assets/images/eye.png',
                              fit: BoxFit.cover,
                              width: 12,
                              height: 9,
                            ),
                            Padding(padding: EdgeInsets.only(left: 4)),
                            Text('300',
                                style: TextStyle(
                                    color: rgba(163, 163, 163, 1),
                                    fontSize: 11))
                          ]),
                          Padding(padding: EdgeInsets.only(left: 13)),
                          Row(children: [
                            Image.asset(
                              'lib/assets/images/message2.png',
                              fit: BoxFit.cover,
                              width: 12,
                              height: 9,
                            ),
                            Padding(padding: EdgeInsets.only(left: 4)),
                            Text('200',
                                style: TextStyle(
                                    color: rgba(163, 163, 163, 1),
                                    fontSize: 11))
                          ]),
                        ]))
                      ],
                    )),
              ],
            ),
          )
        ],
      ),
    );
  }
}
